package com.zhuiyun.pm.client.bidding.service.impl;

import com.zhuiyun.pm.client.bidding.entity.ClientMyAttention;
import com.zhuiyun.pm.client.bidding.entity.ClientRunningWater;
import com.zhuiyun.pm.client.bidding.mapper.ClientMyAttentionMapper;
import com.zhuiyun.pm.client.bidding.service.ClientMyAttentionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ClientMyAttentionServiceImpl implements ClientMyAttentionService {
    @Resource
    ClientMyAttentionMapper clientMyAttentionMapper;
    @Override
    public List<ClientMyAttention> page(Integer page, Integer size, Integer userId) {
        page = (page-1)* size;
        return clientMyAttentionMapper.listpage(page,size,userId);
    }
}
